//
//  UIView+HDProvinceHearView.h
//  app
//
//  Created by D on 15/5/11.
//  Copyright (c) 2015年 hdaren. All rights reserved.
//

#import <UIKit/UIKit.h>

@class HDProvinceHearView;
@class HDProvinceModel;

@protocol HDProvinceHearViewDelegate <NSObject>

- (void)headerViewClick:(HDProvinceHearView *)view inSection:(NSInteger)section;

@end

@interface  HDProvinceHearView : UIView

@property (strong,nonatomic) UIView * mianView;
@property (strong,nonatomic) UILabel * title;
@property (strong,nonatomic) UIImageView * rightImage;
@property (strong,nonatomic) UIButton * mainButton;
@property (strong,nonatomic) HDProvinceModel * modle;
@property (strong,nonatomic) id<HDProvinceHearViewDelegate>delegate;
@property (assign,nonatomic) NSInteger section;

-(instancetype)initWithDelegate:(id)delegate section:(NSInteger)section;
+(instancetype)viewWihtDelegate:(id)delegate seciont:(NSInteger)section;

@end
